<?php

class Main extends Controller {

	function Main()
	{
		parent::Controller();

		$this->authlib->check();
	}

	function index()
	{
		$data['LoginUsername'] = getUserName();
		$this->load->view('main_layout', $data);
	}

	function welcome()
	{
		$this->load->view('welcome');
	}
}
?>